<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="cn.school.dao.*,cn.school.service.*,cn.school.entity.*" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<table border="1" >
<tr>
<td>学号</td><td>姓名</td><td>电话</td><td>QQ号</td><td>微信</td><td>年级编号</td>
<td>来自哪里</td><td>出生日期</td><td>地址</td><td>密码</td>
</tr>
<%
Service service=new Service();
List<Student> list=service.searchLimitByMohu(0, 20);
for(Student s:list){
%>	
<tr>
	<td><%=s.getStuno() %></td><td><%=s.getSname() %></td><td><%=s.getTelephone() %></td>
	<td><%=s.getQq() %></td><td><%=s.getWechat() %></td><td><%=s.getGradeid() %></td>
	<td><%=s.getFromcity() %></td>
	<td><%=s.getBirthday() %></td><td><%=s.getAddress() %></td>
	<td><%=s.getPass() %></td>
</tr>
<%}%>

</table>
</body>
</html>